﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Enterprise.UI.Web.Login" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>用户登录</title>
    <link href="Styles/css/login.css" rel="stylesheet" type="text/css" />
     <link rel="stylesheet" type="text/css" href="easyui1.2.6/themes/default/easyui.css"/>
     <link rel="stylesheet" type="text/css" href="easyui1.2.6/themes/icon.css"/>
     <script type="text/javascript" src="Scripts/jquery-1.7.2.min.js"></script>
     <script type="text/javascript" src="easyui1.2.6/jquery.easyui.min.js"></script>
     <script type="text/javascript">
         function onPressKey() {
             if (window.event.keyCode == 13) {
                 __doPostBack("BtnLogin", "");
             }
         }
     </script>
</head>
<body>
<div class="xlogin">
    <form id="form1" runat="server">
        <table class="loginp">
          <tr>
            <td>
              <table border="0" cellpadding="0">
                <tr>
                  <td align="right">
                    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">用户名:</asp:Label>
                  </td>
                  <td>
                    <asp:TextBox ID="UserName" runat="server" CssClass="username" OnKeyPress="onPressKey();"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                      ErrorMessage="必须填写“用户名”。" ToolTip="必须填写“用户名”。" ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                  </td>
                </tr>
                <tr>
                  <td align="right">
                    <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">密码:</asp:Label>
                  </td>
                  <td>
                    <asp:TextBox ID="Password" runat="server" TextMode="Password" CssClass="password" OnKeyPress="onPressKey();"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                      ErrorMessage="必须填写“密码”。" ToolTip="必须填写“密码”。" ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                  </td>
                </tr>
                  <tr>
                      <td align="right">
                          语言:</td>
                      <td>
                          <asp:DropDownList ID="Language" runat="server" OnKeyPress="onPressKey();">
                            <asp:ListItem Text="简体中文(zhcn)" Value="zhcn"></asp:ListItem>
                            <asp:ListItem Text="русский(ru)" Value="ru"></asp:ListItem>
                          </asp:DropDownList>
                      </td>
                  </tr>
                <tr>
                  <td align="right" colspan="2" style="color: Red;">
                      <asp:LinkButton ID="BtnLogin" runat="server" onclick="BtnLogin_Click" CssClass="button"><span>登录</span></asp:LinkButton>                    
                    &nbsp;&nbsp;
                  </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
    </form>
   </div>
</body>
</html>
